<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML >
<html lang="en">
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>面试结果登记.jsp</title>


<script type="text/javascript" src="feng/js/jquery-1.8.3.js"></script>

<link rel="stylesheet" href="feng/css/cal.css"  type="text/css" />
<link rel="stylesheet" href="feng/css/my.css"  type="text/css" />
<script src="feng/js/cal.js" type="text/javascript" charset="gbk"></script>

<link rel="stylesheet" type="qiang/text/css" href="feng/css/header.css">
<script type="text/javascript" src="feng/js/header.js"></script>

<link rel="stylesheet" type="text/css" href="feng/css/left.css">
<script type="text/javascript" src="feng/js/left.js"></script>

<link rel="stylesheet" type="text/css" href="feng/css/link.css">
<link rel="stylesheet" type="text/css" href="feng/css/query.css">
<link rel="stylesheet" type="text/css" href="feng/css/result.css">

<script type="text/javascript">
	$(function(){
		$("table tr:odd").css("background-color","#FFFFFF");
		$("#back").click(function(){
		window.location.href="feng/简历管理.jsp";
		});
		$("#save").click(function(){
			select();
			
		});
		var message=$("#hid").val();
		if(!message==""){
		alert(message);
		}
		function status(){
			var s=$("#status").val();
			if(s==2){
				$("#s4,#s5,#s6,#s7,#s8,#s9,#s10,#s11").attr("disabled","disabled")
			}
			if(s==3){
				$("#s7,#s8,#s9,#s10,#s11").attr("disabled","disabled")
				$("#s1,#s2,#s3").attr("readonly","readonly")
			}
			if(s==4){
				$("#s10,#s11").attr("disabled","disabled")
				$("#s1,#s2,#s3,#s4,#s5,#s6").attr("readonly","readonly")
			}
			if(s==5){
				$("#s1,#s2,#s3,#s4,#s5,#s6,#s7,#s8,#s9").attr("readonly","readonly")
			}
		}
		status();
		function select(){
		var c=$("#select").val();
		if(c==2||c==3||c==4||c==5){
		alert("档案状态只能是录用或者存档");
		return false;
		}else{
		$("#status1").val(c);
		$("#form1").submit();
		}
		}
		
	});
</script>
<style type="text/css">
 #li2 td{text-align:center;line-height:20px;height:20px;font-size:13px;border:1px solid #333
</style>
</head>

<body>
	<div id=all
		style="width:1050px ;height: 2000px;background-color: #C9C9C9;margin: 0 auto;position:relative;top:30px;">
		<div id="header"
			style="width: 1030px; height:100px;position:absolute;left: 10px;top:0px;background-color:white;">
			<%@ include file="header.jsp"%>
		</div>
		<div id="left"
			style="height: 1000px;width: 200px; position:absolute;left: 10px;top:100px;background-color:white;">
			<%@ include file="left.jsp"%>
		</div>
		<div id="right"
			style="height: 1000px;width: 810px; ;position:absolute;left: 230px;top:100px;
			background-color:#F4F4F4;">
		<div id="h1" style="width:787px;float:left;padding:14px 21px;overflow:hidden;font-size:13px">
        	<div style="margin-bottom:20px">
            	招聘管理>>简历管理>>面试结果登记
            </div>
            <form id="form1" action="feng/upd2" method="post" >
            <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">应聘职位名称：</div><div style="float:left">
        <input type="text" style="width:170px" class="li1"></div>
                <div style="float:left;width:95px;margin-left:50px">应聘职位代码：</div><div style="float:left">
        <input type="text" style="width:133px" class="li1"></div>
                <div style="float:left;width:80px;margin-left:40px">职位分类：</div><div style="float:left">
        <input type="text" style="width:110px" class="li1"></div>
                </div>
            
                <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">姓名：</div><div style="float:left">
        <input type="text" style="width:170px" class="li1" value="${jianli.name}" name="jianli.name" readonly="readonly" ></div>
                <div style="float:left;width:95px;margin-left:50px">性别：</div><div style="float:left">
        <select  class="li1" style="width:133px" >
               <option value="">--请选择--</option>
                     <option value="男" <c:if test="${jianli.sex=='男'}">selected</c:if>>男</option>
                     <option value="女" <c:if test="${jianli.sex=='女'}">selected</c:if>>女</option>
                
                
                </select></div>
                <div style="float:left;width:80px;margin-left:40px">招聘类型：</div><div style="float:left">&nbsp;
        <select  class="li1" style="width:109px" >
               <option value="">--请选择--</option>
                   <option value="1" <c:if test="${jianli.type==1}">selected</c:if>>校园招聘</option>
                   <option value="2" <c:if test="${jianli.type==2}">selected</c:if>>社会招聘</option>
                
                </select></div>
                </div>
            
             <div style="margin-bottom:18px;overflow:hidden">
             <div style="float:left;width:95px">Email：</div><div style="float:left">
      <input type="text" style="width:170px" class="li1"  value="${jianli.email}" name="jianli.email" readonly="readonly" ></div>
                <div style="float:left;width:95px;margin-left:50px">联系电话：</div><div style="float:left">
      <input type="text" style="width:133px" class="li1" value="${jianli.telephone}" name="jianli.telephone" readonly="readonly" ></div>
                <div style="float:left;width:80px;margin-left:40px">户口所在地：</div><div style="float:left">
      <input type="text" style="width:110px" class="li1" value="${jianli.hukou}" name="jianli.hukou" readonly="readonly" ></div>
                </div>
            
             <div style="margin-bottom:18px;overflow:hidden">
             <div style="float:left;width:95px">住址：</div><div style="float:left">
      <input type="text" style="width:449px" class="li1" value="${jianli.address}" name="jianli.address" readonly="readonly" ></div>
               
                <div style="float:left;width:80px;margin-left:40px">政治面貌：</div><div style="float:left">
      <input type="text" style="width:110px" class="li1" value="${jianli.mianmao}" name="jianli.mianmao" readonly="readonly" ></div>
                </div>
            
            <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">身份证号：</div><div style="float:left">
      <input type="text" style="width:170px" class="li1" value="${jianli.idcard}" name="jianli.idcard" readonly="readonly" ></div>
                 <div style="float:left;width:95px;margin-left:50px">毕业院校：</div><div style="float:left">
      <input type="text" style="width:133px" class="li1" value="${jianli.school}" name="jianli.school" readonly="readonly" ></div>
                <div style="float:left;width:80px;margin-left:40px">学历：</div><div style="float:left">
      <select  class="li1" style="width:109px"  >
                <option value="">--请选择--</option>
                <option value="专科" <c:if test="${jianli.xueli=='专科'}">selected</c:if>>专科</option>
                <option value="本科" <c:if test="${jianli.xueli=='本科'}">selected</c:if>>本科</option>
                <option value="硕士" <c:if test="${jianli.xueli=='硕士'}">selected</c:if>>硕士</option>
                <option value="博士" <c:if test="${jianli.xueli=='博士'}">selected</c:if>>博士</option>
                
                </select></div>
            </div>
            
             <div style="margin-bottom:18px;overflow:hidden">
             <div style="float:left;width:95px">专业：</div><div style="float:left">
     <input type="text" style="width:170px" class="li1" value="${jianli.zhuanye}" name="jianli.zhuanye" readonly="readonly" ></div>
                <div style="float:left;width:95px;margin-left:50px">工作经验：</div><div style="float:left">
     <input type="text" style="width:133px" class="li1" value="${jianli.jingyan}" name="jianli.jingyan" readonly="readonly" ></div>
                <div style="float:left;width:80px;margin-left:40px">薪资要求：</div><div style="float:left">
     <input type="text" style="width:110px" class="li1" value="${jianli.xinziyaoqiu}" name="jianli.xinziyaoqiu" readonly="readonly" ></div>
                </div>
            
             
            <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">是否在职：</div><div style="float:left">
     <select  class="li1" style="width:172px"  >
              <option value="">--请选择--</option>
                <option value="离职" <c:if test="${jianli.statusZaizhi=='离职'}">selected</c:if>>离职</option>
                <option value="在职" <c:if test="${jianli.statusZaizhi=='在职'}">selected</c:if>>在职</option>
                </select></div>
                 <div style="float:left;width:95px;margin-left:50px">是否应届生：</div><div style="float:left">
      <select  class="li1" style="width:133px"   >
                <option value="">--请选择--</option>
                <option value="是" <c:if test="${jianli.yignjie=='是'}">selected</c:if>>是</option>
                <option value="否" <c:if test="${jianli.yignjie=='否'}">selected</c:if>>否</option>
                
                </select></div>
                <div style="float:left;width:80px;margin-left:40px">登记时间：</div><div style="float:left">
      <input type="text" style="width:110px" class="li1" value="<f:formatDate value="${jianli.time}" pattern="yyyy-MM-dd"></f:formatDate>" name="jianli.time" readonly="readonly" ></div>
                </div>
            
                <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">个人履历：</div><div style="float:left">
      <textarea style="width:673px;height:134px" name="jianli.lvli" readonly="readonly" >${jianli.lvli}</textarea></div>
                </div>
            
            <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">简历附件：</div>
                <div style="float:left;width:115px;"><a href="feng/down?id=${jianli.id}" style="cursor:pointer;text-decoration:underline"><c:if test="${not empty jianli.fujian}">${jianli.name}个人简历.doc</c:if></a></div>
            </div>
            
              <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">简历状态：</div>
                <div style="float:left;width:95px">
     <select  class="li1" style="width:78px"  id="select">
                 <option value="">--请选择--</option>
                <option value="1" <c:if test="${jianli.status==1}">selected</c:if>>存档</option>
                <option value="2" <c:if test="${jianli.status==2}">selected</c:if>>推荐面试</option>
                <option value="3" <c:if test="${jianli.status==3}">selected</c:if>>推荐二面</option>
                <option value="4" <c:if test="${jianli.status==4}">selected</c:if>>推荐三面</option>
                <option value="5" <c:if test="${jianli.status==5}">selected</c:if>>建议录用</option>
                <option value="6" <c:if test="${jianli.status==6}">selected</c:if>>录用</option>
                <option value="7" <c:if test="${jianli.status==7}">selected</c:if>>删除</option>
                </select></div>
               <div style="float:left;width:65px;margin-left:35px">推荐人：</div> <div style="float:left;">
    <input type="text" style="width:110px" class="li1" value="${jianli.tuijianren}" name="jianli.tuijianren" readonly="readonly" ></div>
               <div style="float:left;width:75px;margin-left:50px">推荐时间：</div> <div style="float:left;">
    <input type="text" style="width:110px" class="li1" name="jianli.tuijiantime" value="<f:formatDate  value="${jianli.tuijiantime}" pattern="yyyy-MM-dd"></f:formatDate>" readonly="readonly" ></div>
                
            </div>
            
             <div style="margin-bottom:18px;overflow:hidden">
            	<div style="float:left;width:95px">推荐面试意见：</div><div style="float:left">
   <textarea style="width:673px;height:50px" name="jianli.tuijianyijian" readonly="readonly" >${jianli.tuijianyijian}</textarea></div>
            </div>
            <div style="color:#669900;margin-bottom:16px">---------面试结果--------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
             <div style="margin-bottom:16px;overflow:hidden;font-size:12px">
            	 <div style="float:left;width:90px">一面面试人：</div>
                <div style="float:left;">
 <input type="text" style="width:105px" class="li1" value="${jianli.yimianren}" name="jianli.yimianren" id="s1"></div>
                <div style="float:left;width:65px;margin-left:15px">面试时间：</div>
                <div style="float:left;">
 <input type="text" style="width:105px" class="li1" id="s2" name="jianli.yimiantime" value="<f:formatDate  value="${jianli.yimiantime}" pattern="yyyy-MM-dd"></f:formatDate>"></div>
                <div style="float:left;width:90px;margin-left:18px">二面面试人：</div>
                <div style="float:left;">
 <input type="text" style="width:105px" class="li1" id="s4" value="${jianli.ermianren}" name="jianli.ermianren"></div>
                <div style="float:left;width:63px;margin-left:15px" class="li1">面试时间：</div>
                <div style="float:left;">
 <input type="text" style="width:105px" class="li1" id="s5" name="jianli.ermiantime"  value="<f:formatDate  value="${jianli.ermiantime}" pattern="yyyy-MM-dd"></f:formatDate>"></div>
                 <div style="float:left;width:90px;margin-top:16px">一面面试评价：</div>
                <div style="float:left;margin-top:16px">
 <textarea style="height:32px;width:293px" id="s3" name="jianli.yimianpingjia">${jianli.yimianpingjia}</textarea></div>
                 <div style="float:left;width:90px;margin-top:16px;margin-left:17px">二面面试评价：</div>
                <div style="float:left;margin-top:16px">
 <textarea style="height:32px;width:290px" id="s6" name="jianli.ermianpingjia">${jianli.ermianpingjia}</textarea></div>
                 <div style="float:left;width:90px;margin-top:16px">三面面试人：</div>
                <div style="float:left;;margin-top:16px">
 <input type="text" style="width:105px" class="li1" id="s7" value="${jianli.sanmianren}" name="jianli.sanmianren"></div>
                <div style="float:left;width:65px;margin-left:15px;margin-top:16px">面试时间：</div>
                <div style="float:left;margin-top:16px">
 <input type="text" style="width:105px" class="li1" id="s8" name="jianli.sanmiantiem" value="<f:formatDate  value="${jianli.sanmiantiem}" pattern="yyyy-MM-dd"></f:formatDate>"></div>
                 <div style="float:left;width:90px;margin-left:18px;margin-top:16px">决议时间：</div>
                <div style="float:left;;margin-top:16px">
 <input type="text" style="width:105px" class="li1" id="s10" name="jianli.jueyitime" value="<f:formatDate  value="${jianli.jueyitime}" pattern="yyyy-MM-dd"></f:formatDate>"></div> 
                 <div style="float:left;width:90px;margin-top:16px;clear:both">三面面试评价：</div>
                <div style="float:left;margin-top:16px;margin-bottom: 16px">
 <textarea style="height:32px;width:293px" id="s9" name="jianli.sanmianpingjia">${jianli.sanmianpingjia}</textarea></div>
                 <div style="float:left;width:90px;margin-top:16px;margin-left:18px">录用决议：</div>
                <div style="float:left;margin-top:16px">
 <textarea style="height:32px;width:290px" id="s11" name="jianli.luyongjueyi">${jianli.luyongjueyi}</textarea></div>
             </div> 
         		<div style="width:60px;height:24px;background-image:url(feng/image/styled_button_u243_mouseDown.png);color:#FFF;text-align:center;float:left;cursor:pointer;margin-left:325px;clear: both;" id="save">保存</div>
            	<div style="width:60px;height:24px;background-image:url(feng/image/styled_button_u243_mouseDown.png);color:#FFF;text-align:center;float:left;cursor:pointer;margin-left:25px" id="back">返回</div>
           
    </div>
		<input type="hidden" name="jianli.id" value="${jianli.id}">
		<input type="hidden" name="jianli.type" value="${jianli.type}">
		<input type="hidden" name="jianli.yignjie" value="${jianli.yignjie}">
		<input type="hidden" name="jianli.sex" value="${jianli.sex}">
		<input type="hidden" name="jianli.xueli" value="${jianli.xueli}">
		<input type="hidden" name="jianli.statusZaizhi" value="${jianli.statusZaizhi}">
		<input type="hidden" name="jianli.status"  id="status1">
		<input type="hidden"  value="${jianli.status}" id="status">
		</form>
		<input type="hidden" value="${message}" id="hid">
	</div>
	</div>

</body>
</html>
